package com.zhenghaijin.pojo;

public class AnimePOJO {
    private String id;
    private String title;          // 动漫标题
    private String description;    // 描述
    private String coverImageUrl;  // 封面图地址
    private String type;           // 类型（如 TV、OVA、剧场版）
    private int releaseYear;       // 发布年份
    private String status;         // 状态（如连载中、已完结）
    private String genre;          // 流派或分类

    public AnimePOJO() {}

    public AnimePOJO(String id, String title, String description, String coverImageUrl, String type, int releaseYear, String genre, String status) {
        this.id = id;
        this.title = title;
        this.description = description;
        this.coverImageUrl = coverImageUrl;
        this.type = type;
        this.releaseYear = releaseYear;
        this.genre = genre;
        this.status = status;
    }

    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getReleaseYear() {
        return releaseYear;
    }

    public void setReleaseYear(int releaseYear) {
        this.releaseYear = releaseYear;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}